/**
 * Copyright (c) 华南农业大学信息学院蔡超敏2015版权所有
 * 
 * 文件创建时间：2015年5月3日
 */
package org.scauinfo.fpos.model;

import java.sql.Timestamp;

/**
 * @author 蔡超敏
 * 
 */
public class SaleorderModel {

	private Integer id;
	// private Member member;
	private String memberId;
	private String name;
	private String address;

	// private User user;
	private String userId;
	private String username;
	private String account;

	private String saleorderId;
	
	private Timestamp createdDatetime;
	private String createdDatetimeStr;//为显示加上的属性
	
	private Integer state;
	private String stateStr;//为显示加上的属性

	private Integer tablePlate;
	private String description;

	private Double realIncome;

	/**
	 * @param id
	 * @param memberId
	 * @param name
	 * @param address
	 * @param userId
	 * @param username
	 * @param account
	 * @param saleorderId
	 * @param createdDatetime
	 * @param state
	 * @param description
	 */
	public SaleorderModel(Integer id, String memberId, String name,
			String address, String userId, String username, String account,
			String saleorderId, Timestamp createdDatetime, Integer state,
			String description) {
		super();
		this.id = id;
		this.memberId = memberId;
		this.name = name;
		this.address = address;
		this.userId = userId;
		this.username = username;
		this.account = account;
		this.saleorderId = saleorderId;
		this.createdDatetime = createdDatetime;
		this.state = state;
		this.description = description;
	}

	/**
	 * @return the createdDatetimeStr
	 */
	public String getCreatedDatetimeStr() {
		return createdDatetimeStr;
	}

	/**
	 * @param createdDatetimeStr the createdDatetimeStr to set
	 */
	public void setCreatedDatetimeStr(String createdDatetimeStr) {
		this.createdDatetimeStr = createdDatetimeStr;
	}

	/**
	 * @return the stateStr
	 */
	public String getStateStr() {
		return stateStr;
	}

	/**
	 * @param stateStr
	 *            the stateStr to set
	 */
	public void setStateStr(String stateStr) {
		this.stateStr = stateStr;
	}

	/**
	 * @return the realIncome
	 */
	public Double getRealIncome() {
		return realIncome;
	}

	/**
	 * @param realIncome
	 *            the realIncome to set
	 */
	public void setRealIncome(Double realIncome) {
		this.realIncome = realIncome;
	}

	/**
	 * @return the tablePlate
	 */
	public Integer getTablePlate() {
		return tablePlate;
	}

	/**
	 * @param tablePlate
	 *            the tablePlate to set
	 */
	public void setTablePlate(Integer tablePlate) {
		this.tablePlate = tablePlate;
	}

	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * @return the memberId
	 */
	public String getMemberId() {
		return memberId;
	}

	/**
	 * @param memberId
	 *            the memberId to set
	 */
	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the address
	 */
	public String getAddress() {
		return address;
	}

	/**
	 * @param address
	 *            the address to set
	 */
	public void setAddress(String address) {
		this.address = address;
	}

	/**
	 * @return the userId
	 */
	public String getUserId() {
		return userId;
	}

	/**
	 * @param userId
	 *            the userId to set
	 */
	public void setUserId(String userId) {
		this.userId = userId;
	}

	/**
	 * @return the username
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * @param username
	 *            the username to set
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * @return the account
	 */
	public String getAccount() {
		return account;
	}

	/**
	 * @param account
	 *            the account to set
	 */
	public void setAccount(String account) {
		this.account = account;
	}

	/**
	 * @return the saleorderId
	 */
	public String getSaleorderId() {
		return saleorderId;
	}

	/**
	 * @param saleorderId
	 *            the saleorderId to set
	 */
	public void setSaleorderId(String saleorderId) {
		this.saleorderId = saleorderId;
	}

	/**
	 * @return the createdDatetime
	 */
	public Timestamp getCreatedDatetime() {
		return createdDatetime;
	}

	/**
	 * @param createdDatetime
	 *            the createdDatetime to set
	 */
	public void setCreatedDatetime(Timestamp createdDatetime) {
		this.createdDatetime = createdDatetime;
	}

	/**
	 * @return the state
	 */
	public Integer getState() {
		return state;
	}

	/**
	 * @param state
	 *            the state to set
	 */
	public void setState(Integer state) {
		this.state = state;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param description
	 *            the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

}
